Skip to content

Conversation

brentru
Copy link
Member

@brentru brentru commented Apr 16, 2025

This pull request updates the src/pixels component for compatibility with WipperSnapper_Proto API v2.

Minor:

  • Updates the display-handling-related variables and methods to use the "V2" naming convention
    • Note: add_text_to_terminal() is disabled, for now as it is out of scope of this PR and was required to get FunHouse working for DotStar Testing

Testing

Board: Adafruit Feather ESP32-S2
Component: Built-in Status NeoPixel
✅ Init
✅ Remove/Deinit
✅ Write
✅ Write after deinit
✅ Off after deinit (bug)

Board: Adafruit FunHouse ESP32-S2
Component: 5x DotStars
✅ Init
✅ Remove/Deinit
✅ Write 5x DotStars
✅ Write 4x DotStars
✅ Write after deinit
✅ Off after deinit (bug)

@brentru brentru requested a review from tyeth April 16, 2025 18:25
Copy link
Member

@tyeth tyeth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Not gone through all the unrelated changes, but glanced.
Nice one for testing the change in strand length on dotstars.

The Wire1 guard around rtc makes me think we should try the users i2c alt bus. I've also got some distant thought about setting pins (even though they are defined already) and calling begin on wire1 for some arch's.
https://github.com/adafruit/Adafruit_Wippersnapper_Arduino/pull/731/files#diff-b9c00d1d47c0c0a741a32aa31e52ddff1573173e965c8e76d7567527e8754f1cR149

The build target skips and generates are a bit confusing to view this way, but the couple of renames I checked seem to be matched with an add file for the lost targets so think it's okay. We should of course verify they're all still built + skipped correctly.

@brentru brentru merged commit 25ad69a into migrate-api-v2 Apr 23, 2025
38 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants